package org.jeecg.modules.hc.service;

import com.alipay.api.AlipayApiException;
import org.jeecg.modules.hc.entity.HcAliRefund;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * @Description: 支付宝退款
 * @Author: jeecg-boot
 * @Date:   2023-01-12
 * @Version: V1.0
 */
public interface IHcAliRefundService extends IService<HcAliRefund> {

    HcAliRefund refund(String outTradeNo, String userId, BigDecimal refund) throws AlipayApiException;

    HcAliRefund queryRefund(String refundId) throws AlipayApiException;
}
